package com.varton;

import java.util.ServiceLoader;

/**
 * Hello world!
 *
 */
public class App {
    public static void main( String[] args ) {
        ServiceLoader<DataDriver> loader = ServiceLoader.load(DataDriver.class);
        for (DataDriver dataDriver :loader){
            System.out.println(dataDriver.connect("127.0.0.1"));
        }
    }
}
